home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg2.cab / index4.html.xsl < prev    next >
Extensible Markup Language  |  2004-11-27  |  2KB  |  72 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet version="1.0" 
  4.    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.     xmlns="http://www.w3.org/1999/xhtml">
  6.  
  7.     <xsl:output method               = "html"
  8.                 media-type           = "text/html"
  9.                 indent               = "yes"
  10.                 doctype-public       = "-//W3C//DTD HTML 4.0 Transitional//EN"
  11.                 omit-xml-declaration = "yes"
  12.                 standalone           = "yes" />
  13.     
  14.  
  15.      <!-- =============================
  16.                    ROOT
  17.      ================================== -->
  18.  
  19.  
  20.     <xsl:template  match="/">
  21.           <html>
  22.                    <xsl:call-template name="head"/>
  23.                   <xsl:call-template name="frameset"/>
  24.            </html>
  25.      </xsl:template>
  26.      
  27.      
  28.      <!-- =============================
  29.                    HTML FRAMES
  30.      ================================== -->
  31.      
  32.     
  33.     <xsl:template name="frameset">
  34.         <frameset rows="281,*" cols="*" framespacing="0" frameborder="NO" border="0">
  35.               <frame src="tocframe.html" name="tocframe" scrolling="Auto" noresize=""/>
  36.               <frame src="mainframe.html" name="mainframe"/>
  37.         </frameset>
  38.         <noframes/>
  39.         <body>
  40.         </body>
  41.     </xsl:template>
  42.     
  43.  
  44.      <!-- =============================
  45.                    HTML HEAD
  46.                    
  47.     this section should not be changed
  48.      ================================== -->
  49.      
  50.      <xsl:template name="head">
  51.          <head>
  52.                 <title>
  53.                      <xsl:value-of select="/session/general-info/@title"/>
  54.                 </title>
  55.                 <!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -->
  56.                 <meta name="description" content="{/session/general-info/@description}"/>
  57.                 <meta name="keywords" content="{/session/general-info/@keywords}"/>
  58.                 <meta name="author" content="{/session/general-info/@author}"/>
  59.                 <meta name="email" content="{/session/general-info/@email}"/>
  60.                 <meta name="copyright" content="{/session/general-info/@copyright}"/>
  61.                 <!-- create date?
  62.                      update date?
  63.                      fav icon?
  64.                      -->
  65.                 <link REL="shortcut icon" href="images/favicon.ico" type="image/ico"/>
  66.              <link href="style.css" rel="stylesheet" type="text/css"/>
  67.  
  68.         </head>
  69.      </xsl:template>
  70.     
  71. </xsl:stylesheet>
  72.